package com.ruoyi.patrol.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 安全巡查工作记录对象 pt_line_record
 * 
 * @author mlb
 * @date 2022-11-13
 */
public class PtLineRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 巡查线路标识 */
    @Excel(name = "巡查线路标识")
    private Long lineId;

    /** 学校名称 */
    @Excel(name = "学校名称")
    private String schoolName;

    /** 学校标识 */
    @Excel(name = "学校标识")
    private Long schoolId;

    /** 学校类别（0：幼儿园，1：小学，2：中学，3：高中，4：大学） */
    @Excel(name = "学校类别", readConverterExp = "0=：幼儿园，1：小学，2：中学，3：高中，4：大学")
    private Long schoolType;

    /** 提交者标识（安保人员和行政人员的标识能否统一？） */
    @Excel(name = "提交者标识", readConverterExp = "安=保人员和行政人员的标识能否统一？")
    private Long submitterId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLineId(Long lineId) 
    {
        this.lineId = lineId;
    }

    public Long getLineId() 
    {
        return lineId;
    }
    public void setSchoolName(String schoolName) 
    {
        this.schoolName = schoolName;
    }

    public String getSchoolName() 
    {
        return schoolName;
    }
    public void setSchoolId(Long schoolId) 
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId() 
    {
        return schoolId;
    }
    public void setSchoolType(Long schoolType) 
    {
        this.schoolType = schoolType;
    }

    public Long getSchoolType() 
    {
        return schoolType;
    }
    public void setSubmitterId(Long submitterId) 
    {
        this.submitterId = submitterId;
    }

    public Long getSubmitterId() 
    {
        return submitterId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("lineId", getLineId())
            .append("schoolName", getSchoolName())
            .append("schoolId", getSchoolId())
            .append("schoolType", getSchoolType())
            .append("submitterId", getSubmitterId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
